function brwcheck() {
	
	 // The default is set to false (incompatible), 
	var resultck=false;	
	
	 // Then all approved/compatible browsers are set to true based on whether they have certain functionality
	 // DOM1 compliance ns6 and IE5 and opera 4+
	if(document.getElementsByTagName){resultck=true;}
	
	 // IE4 all DOM
	if (document.all){resultck=true;}

	 // Disallow IE 3
    var agt=navigator.userAgent.toLowerCase();
	var is_ie=(agt.indexOf("msie") !=-1);
	if(is_ie==true) { var is_minor=parseFloat(agt.substring(agt.indexOf('msie')+4,(agt.indexOf('msie')+11)));}
	if(is_ie==true && is_minor<4) {resultck=false;}

	if(resultck==false){
		document.write('<P>&nbsp;<br><font size="4" face="Verdana,Arial,Helvetica,sans-serif" color="#CC0000"><b><br>Please check that you are using a supported Web browser!\r</b></font><font size="3" face="Verdana,Arial,Helvetica,sans-serif" color="#CC0000"><br>This includes:\r<br>Macintosh: IE 5.0+, Netscape 4.7+ and 6+<br>Windows: IE 4.5+, Netscape 4.7+ and 6+\r<p>You can download the latest versions for free at the following locations:\r<br><a href="http://home.netscape.com/download/">Netscape</a>\r<br><a href="http://www.microsoft.com/windows/ie/download/ie55.htm">Internet Explorer Windows 5.5</a>\r<br><a href="http://www.microsoft.com/mac/products/ie/">Internet Explorer Mac 5</a>\r<br><a href="http://www.opera.com/download/index.html">Opera</a></font><P>');
	}
}
#selstart#
***** Then put in document where you want message displayed: ***** 
<script language="JavaScript" type="text/javascript">
brwcheck();
</script>

***** If you want to allow Netscape 4.7, add this before if(resultck==false) ***** 

	//Allow Netscape 4.7
	if (document.layers && navigator.appVersion.indexOf('4.7') != -1){resultck = true;}
#selend#
